package lesson2.pages;

import lesson2.api.ApplicationManager;

import org.openqa.selenium.By;

public class PageBase
{
	public ApplicationManager app;

	public PageBase(ApplicationManager p_app)
	{
		app = p_app;
	}

	public void click(By p_locator)
	{
		app.webElementHelper().click(p_locator);
	}

	public void type(By p_locator, String p_text)
	{
		app.webElementHelper().type(p_locator, p_text);
	}

	public void selectByValue(By p_locator, String p_value)
	{
		app.webElementHelper().selectByValue(p_locator, p_value);
	}
}
